package com.hgkj.cloud.base.dao;

import com.hgkj.cloud.base.domain.SubDeviceInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SubDeviceInfoMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SubDeviceInfo record);

    int insertSelective(SubDeviceInfo record);

    SubDeviceInfo selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SubDeviceInfo record);

    int updateByPrimaryKey(SubDeviceInfo record);

    List<SubDeviceInfo> getSubDeviceByFatherDevInfoId(Long fatherDevInfoId);

    int disableSubDeviceByFatherDevInfoId(Long fatherDevInfoId);
}